<template>
  <form-field>
    <card-block class="w-1/5 py-6">
      <form-label :for="fieldName">
        <slot name="label"></slot>
      </form-label>
    </card-block>
    <card-block class="w-4/5 py-6">
      <slot name="field"/>
    </card-block>
  </form-field>
</template>

<script>
  export default {
    props: {
      fieldName: {type: String},
    },
  }
</script>
